package com.centaline.httpinvoke.apiFaced.impl;

import com.centaline.httpinvoke.apiFaced.TeleiiFaced;
import com.centaline.invoke.service.TeleiiGateway;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by caoyuan7 on 2018/2/1.
 */
@Service
public class TeleiiFacedImpl implements TeleiiFaced {
    @Autowired
    private TeleiiGateway teleiiGateway;

    @Override
    public String getMyUserMsg() throws Exception {
        //处理业务
        //请求接口得到返回的结果
        String user = teleiiGateway.test();
        return user;
    }



}
